DioDocs for PDF
As<T>(Object) メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > ComObject クラス > As メソッド : As<T>(Object) メソッド
The type of the COM interface to query
The managed COM object.
Queries a managed object for a particular COM interface support (This method is a shortcut to QueryInterface(Guid,IntPtr))
シンタックス
'宣言
 
Public Overloads Shared Function As(Of T As ComObject)( _
   ByVal comObject As System.Object _
) As T
public static T As<T>( 
   System.object comObject
)
where T: ComObject

パラメータ

comObject
The managed COM object.

型パラメータ

T
The type of the COM interface to query

戻り値の型

An instance of the queried interface
参照

ComObject クラス
ComObject メンバ
オーバーロード一覧